home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
gfx
/
board
/
picdrag.lha
/
picdrag.doc
< prev
next >
Wrap
Text File
|
1994-11-01
|
4KB
|
110 lines
PicDrag v1.1
Copyright © 1994 Roberto Ferorelli
Shareware
DESCRIPTION
PicDrag it's a commodity that permits to move the windows, dragging not
only the border of the windows but also their contents.
It works only with the Picasso II board with Monitor driver in CHUNKY mode
(version 2.45 or greater), vilintuisup.library(version 2.8 or greater) and
obviously OS 2.04+.
The program is quite "dirty" (I should not take it as an example of Amiga
style programming) so I have created different "check controls" that avoid
the "PicDragging" when the conditions are not perfectly safe or are too
difficult to manage (remember, it's simply a trick program).
The windows will be "Picdragged" only if:
1) They are on a PICASSO screen with more than 16 colours. I was unable to
use screens with fewer colours because the PICASSO driver uses, for these
screens, a normal PLANAR mode. It works also on custom screens promoted
to a picasso mode.
2) They are on the frontmost screen, it doesn't matter if the screen is
moved from the origin.
3) They have a normal dragbar. Picdrag needs to understand where is the
dragbar of the window.
4) On the board there is enough memory to contain the entire window
together with the screen already buffered on it.
If some of the previous condition is not verified Picdrag uses a normal
dragging method.
Because VillageTronic didn't release informations on how to program the
internal blitter without using the vilintuisup.library and neither the
library itself permits to use blitter on Intuitioned-picasso screens, I
had to make some trick to confuse the vilintuisup, so it's possible some
compatibility problem.
A timeout is present to avoid Intuition locking during window dragging.
The timeout is customizable via tooltypes or via GUI.
The program was fully tested, for different months, on a A4000/040 with OS
3.0.
The program searches for the Picasso board in the ConfigDev list, using
the Productor Code(2167) and the Product Code(11), to find the video
memory. Maybe your board has different codes, in that case, you can
change those codes through two tooltypes. You only have to read, with
programs like AIBB or SysInfo, the codes of your board and insert these in
the tooltypes.
The options of Picdrag can be changed through tooltypes or via GUI (the
hotkey for the option window is <CONTROL SHIFT p>).
USAGE
You run Picdrag simply by clicking twice on its icon. A second run makes
the program exit. If you want Picdrag always active, you have to insert
its icon in the WBStartup drawer of Workbench(remember the DONOTWAIT
tooltype)
The tooltypes are:
MANUFACTURER=<Number> (default:2167)
PRODUCT=<Number>) (default:11)
With these you can specify the Productor Code or the Product Code of
your picasso board.
TICKS=<Number 1-3>
The number(between 1 and 3) is the resolution of the dragging process.
I need that because during Picdragging the mouse accelerator don't
work.
TIMEOUT=<Number 1-15>
It's the timeout period. After that time, if the mouse is not moved,
the dragging is aborted.
DORECT=<YES or NO>
If active it draws around the window an inverted rectangle.
CONTINUOUS=<YES or NO>
If active, a window moved beyond the border of its screen will appear
on the other side of the same screen.
--------------------------------------------------------------------------
ATTENTION
--------------------------------------------------------------------------
I assume no responsability for any damages derived from the use of this
program. I tested Picdrag on A4000/040 and found no bugs, but there's no
code without at least a bug, so use it but at YOUR OWN RISK!
If you have some idea for the program or if you have found a bug(or if you
want simply to make me a gift ;-)), you can contact me:
by mail
Roberto Ferorelli
Via Amendola 201/9
70126 BARI (ITALY)
or by email
mc2068@mclink.it